* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    background: #e7e5e5;
}

li {
    list-style: none;
}

/* 黑色导航 start */
.black-nav {
    background: #333;
}

.warp {
    width: 1226px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    /* background-color: rebeccapurple; */
    justify-content: space-between;
}

.warp-left {
    width: 75%;
    height: 40px;


}

.warp-left-nav {
    height: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;

}

.warp-left-nav .sep {
    margin-right: 10px;
    border-right: 1.5px solid #424242;
    padding-right: 0.3em;
}

.warp-left-nav div .down {
    border-right: none;
}


.warp-left-nav div:last-child {
    border-right: none;
}

.black-nav .warp-left-nav div a {
    color: #b0b0b0;
    font-size: 12px;
    line-height: 14px;
}

.black-nav .warp a:hover {
    color: #fff;
}

.down {
    width: 124px;
    height: 0px;
    background: #fff;
    box-shadow: 0 1px 5px #aaa;
    position: absolute;
    top: 40px;
    overflow: hidden;
    left: 62%;
    z-index: 1;

}

.down img {
    width: 90px;
    margin: 18px 18px 0;


}

.down p {
    color: #333;
    font-size: 14px;
    line-height: 25px;
    margin-left: 20px;

}

.warp-left-nav div:hover>.down {
    height: 148px;
}

.stri {

    width: 0;
    height: 0;
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent !important;
    position: absolute;
    bottom: 0;
    display: none;
    left: 68%;
}

.warp-left-nav>div:hover>.stri {
    display: block;
}

.warp-right {
    width: 25%;
    height: 40px;
    display: flex;
    justify-content: space-around;

}

.warp-right .login a {
    color: #b0b0b0;
    font-size: 12px;
    line-height: 14px;
}

.login {
    width: 360px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.login div {
    margin-right: 10px;
    border-right: 1.5px solid #424242;
    padding-right: 0.3em;

}

.login div:last-child {
    border-right: none;
}

.cart {
    margin-left: -30px;
    width: 180px;
    height: 40px;
    background-color: #424242;
    display: flex;
    justify-content: space-evenly;
    position: relative;
    z-index: 1;
    float: left;
}

.warp-right .cart a {
    color: #b0b0b0;
    font-size: 12px;
    line-height: 40px;
}

.warp-right .cart:hover {
    background: #fff;
}

.warp-right .cart:hover>a {
    color: #ff6700;
}

.cart-list {
    width: 316px;
    height: 0px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: absolute;
    right: 0;
    top: 40px;
    color: #424242;
    overflow: hidden;
    line-height: 100px;
    display: flex;
    justify-content: center;
}

.cart:hover>.cart-list {
    height: 100px;
}

.cart-list p {
    box-sizing: border-box;
}

.cart .cart-img {
    position: relative;
    top: 11px;
    left: -23px;
}

.cart .cart-img img {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.cart-img .cart-img1 {
    display: block;
}

.cart-img .cart-img2 {
    display: none;
}

.cart:hover>a .cart-img>.cart-img1 {
    display: none;
}

.cart:hover>a .cart-img>.cart-img2 {
    display: block;
}


/* 黑色导航 end */

/* 白色导航start */
.white-nav {
    width: 100%;
    height: 100px;
    background: #fff;
    position: relative;
}

.white-nav .warp {
    width: 1226px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.nav-bar {
    height: 100px;
    line-height: 100px;


}

.nav-bar ul {
    display: flex;

}

.nav-bar li {
    font-size: 16px;
    margin-right: 15px;
    list-style: none;


}

.nav-bar li a {
    color: #000;
}

.nav-bar li:hover>a {
    color: #ff6700;
}

.search {
    width: 308px;
    height: 50px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

.search input {
    padding: 10px;
    box-sizing: border-box;
    font-size: 20px;
    flex: 1;
    border: none;
    outline: none;
}

.search .icon {
    height: 50px;
    width: 50px;
    border-left: 1px solid #e0e0e0;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.search .icon:hover {
    background: #ff6700;
}

.search .icon .img1 {
    display: block;
    height: 30px;
    width: 30px;
}

.search .icon .img2 {
    height: 30px;
    width: 30px;
    display: none;
}

.search .icon:hover .img1 {
    display: none;
}

.search .icon:hover .img2 {
    display: block;
}

.nav-bar-list {
    width: 100%;
    height: 229px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 0;
    top: 100px;
    display: none;
    z-index: 1;

}

.nav-bar li:hover>.nav-bar-list {
    display: block;
}

.nav-bar-list li {
    border-right: 1px solid #eee;

}

.nav-bar-list li:last-child {
    border-right: none;
}

.nav-bar-list-warp {
    width: 1226px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;


}

.nav-bar-list-warp .img-box img {
    width: 180px;
    height: 120px;

}

.nav-bar-list-warp .name {
    font-size: 12px;
    color: #333;

    margin-left: 40px;
    margin-top: -70px;
}

.nav-bar-list-warp .price {
    font-size: 12px;
    color: #ff6700;
    margin-left: 60px;
    margin-top: -80px;

}

/* 白色导航end */


/* 轮播图start */
.swiper1 {
    background: #fff;
}

.swiper {
    width: 1226px;
    height: 460px;
    margin: 0 auto;
    background: #333333;
    background-image: url(imgs/小米菜单3.png);
    background-size: 1226px 460px;

    position: relative;
}

.swiper .swiper-nav {
    width: 234px;
    height: 460px;
    background: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 0;
    box-sizing: border-box;
}

.swiper .swiper-nav .items-warp {
    position: relative;
}

.swiper .swiper-nav .items-warp .items:hover {
    background: #ff6700;
    cursor: pointer;
}

.swiper .swiper-nav .items-warp .items {
    display: flex;
    justify-content: space-between;
    height: 42px;
    /*文字垂直居中*/
    line-height: 42px;
    padding: 0 20px;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
}

.swiper .swiper-nav .items-warp .child-nav {
    position: absolute;

    width: 500px;
    height: 460px;
    left: 234px;
    top: -20px;
    background: #fff;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;


    border: 1px solid #e0e0e0;
    border-left: none;
    box-sizing: border-box;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);

    /*初始  不出现*/
    display: none;
}

.swiper-nav .items-warp:hover>.child-nav {
    display: flex;
}

.swiper .swiper-nav .items-warp .child-nav a {
    position: relative;
    width: 220px;
    height: 55px;
    margin-left: 20px;
    margin-top: 15px;
}

.swiper .swiper-nav .items-warp .child-nav .img-box img {
    width: 40px;
    height: 30px;
}

.swiper .swiper-nav .items-warp .child-nav p {
    left: 50px;
    top: 8px;
    color: black;
    font-size: 14px;
    position: absolute;
}

.swiper .swiper-nav .items-warp .child-nav p:hover {
    color: #ff6700;
}



.swiper .swiper-nav :nth-child(2):hover .child-nav {
    top: -62px;
}

.swiper .swiper-nav :nth-child(3):hover .child-nav {
    top: -104px;
    width: 992px;
}

.swiper .swiper-nav :nth-child(4):hover .child-nav {
    top: -146px;
}

.swiper .swiper-nav :nth-child(5):hover .child-nav {
    top: -188px;
    width: 992px;
}

.swiper .swiper-nav :nth-child(6):hover .child-nav {
    top: -230px;
    width: 992px;
}

.swiper .swiper-nav :nth-child(7):hover .child-nav {
    top: -272px;
    width: 744px;
}

.swiper .swiper-nav :nth-child(8):hover .child-nav {
    top: -314px;
    width: 744px;
}

.swiper .swiper-nav :nth-child(9):hover .child-nav {
    top: -356px;
    width: 744px;
}

.swiper .swiper-nav :nth-child(10):hover .child-nav {
    top: -398px;

}

/* 轮播图end */

/* 服务商品区start */

.serve {
    width: 100%;
    height: 170px;
    padding: 14px 0;
    background-color: #fff;
}

.serve-warp {
    width: 1226px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

}

.serve-items ul {
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    padding: 3px;
    box-sizing: border-box;
    font-size: 14px;
    text-align: center;
    /* background: #392d2d; */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

.serve-items li {
    width: 76px;
    height: 82px;
    line-height: 82px;
    box-sizing: border-box;
    opacity: 0.7;
    color: #fff;
    position: relative;
}

.serve-items li ::after {
    position: absolute;
    bottom: 0px;
    left: 10%;
    content: '';
    width: 80%;
    border-bottom: 1px solid #fff;

}



.serve-items li.noboder ::after {
    border-bottom: none;
}

.serve-items li ::before {
    position: absolute;
    content: '';
    border-right: 1px solid #fff;
    width: 1px;
    height: 80%;
    top: 8px;
    right: 0px;
}

.serve-items li:nth-child(6) ::before {
    display: none;
}

.serve-items li:nth-child(3) ::before {
    display: none;
}


.serve-items li:hover {
    opacity: 1;
    cursor: pointer;
}

.serve-img img {
    width: 316px;
    height: 170px;
}

.serve-img img:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 服务商品区end*/

/* ad广告start */
.ad {
    height: 120px;
    width: 100%;
}

.ad-warp {
    width: 1226px;
    height: 120px;
    margin: 30px auto;
}

.ad-warp img {
    width: 1226px;
    height: 120px;
}

.ad-warp img:hover {
    cursor: pointer;
}

/* ad广告end */






/* 内容模块start */
.warp1 {
    width: 1226px;
    margin: 0 auto;

}

/*标题*/
.warp1 .shouji-title-box {
    height: 80px;
    display: flex;

    justify-content: space-between;
    align-items: center;
    position: relative;

}

.warp1 .shouji-title-box .tilte-name {
    font-size: 18px;
    font-weight: 600;
}

.warp1 .shouji-title-box .child-nav {
    display: flex;
}

.warp1 .shouji-title-box .child-nav .items {
    margin-left: 20px;
}

/*菜单激活态*/
/*        .shouji .shouji-title-box .child-nav .items.active{

            padding-bottom: 5px;
            box-sizing: border-box;
            border-bottom: 2px solid #ff6700;
        }*/
.warp1 .shouji-title-box .child-nav .items.active a {
    color: #ff6700;
}

.warp1 .shouji-title-box .child-nav .items a {
    color: #000000;
    font-weight: 550;
}

/*悬停*/
.warp1 .shouji-title-box .child-nav .items:hover,
.warp1 .shouji-title-box .child-nav .items.active {
    padding-bottom: 5px;
    box-sizing: border-box;
    border-bottom: 2px solid #ff6700;
}

.warp1 .shouji-title-box .child-nav .items:hover a {
    color: #ff6700;
}


.warp1 .shouji-title-box .more {
    cursor: pointer;
}

.warp1 .shouji-title-box .more:hover {
    color: #ff6700;
}

.warp1 .shouji-goods-box {
    display: flex;
    justify-content: space-between;
}

.shouji-goods-box-left {
    width: 234px;
    height: 614px;
    /* background: #ff6700; */
    margin-right: 15px;
    transition: all 0.2s linear;
}

.shouji-goods-box-left:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.shouji-goods-box-left img {
    width: 234px;
    height: 614px;
}

.shouji-goods-box-right {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*
    http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html
    align-content属性定义了多根轴线的对齐方式。如果项目只有一根轴线，该属性不起作用
    */
    align-content: space-between;
}

.shouji-goods-box-right .goods-item {
    width: 234px;
    height: 300px;
    /* border: 1px solid red; */
    background: #fff;
    transition: all 0.2s linear;

}

.shouji-goods-box-right .goods-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



.goods-item img {
    width: 160px;
    margin-bottom: 19px;
    margin-left: 37px;
    margin-top: 20px;
}

.imem-name {
    width: 214px;
    height: 21px;
    color: #333;
    line-height: 21px;
    margin: 0 50px 2px;
}

.item-desc {
    width: 214px;
    height: 18px;
    color: #b0b0b0;
    font-size: 12px;
    line-height: 18px;
    margin: 0 73px 10px;
}

.item-price {
    /* width: 234px; */
    color: #ff6700;
    font-size: 14px;
    margin-left: 90px;
}


.goods-item-last {
    width: 234px;
    height: 300px;

    /* background-color: red; */
}

/* 笔记本start */
.last-top {
    width: 234px;
    height: 143px;
    margin-bottom: 14px;
    background-color: #fff;
    transition: all 0.2s linear;
    position: relative;
}

.last-bottom {
    width: 234px;
    height: 143px;
    background-color: #fff;
    transition: all 0.2s linear;
    position: relative;

}

.last-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.last-bottom:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.last-top img {
    width: 80px;
    height: 80px;
    /* margin: 35px 100px; */
    position: absolute;
    left: 130px;
    top: 30px;
}

.item-last-name {
    width: 110px;
    height: 21px;
    color: #333;
    line-height: 21px;
    position: absolute;
    left: 20px;
    top: 30px;

}

.item-last-price {
    color: #ff6700;
    font-size: 14px;
    position: absolute;
    left: 20px;
    top: 80px;
}

.last-bottom img {
    width: 48px;
    height: 48px;
    /* margin: 35px 100px; */
    position: absolute;
    left: 150px;
    top: 50px;
}

.last-bottom .item-last-name {
    font-size: 18px;
    left: 35px;
    top: 50px;
}

.last-bottom .item-last-price {
    color: #b0b0b0;
    font-size: 12px;
    left: 35px;
    top: 75px;
}

.hot {
    color: #ff6700;
    padding-bottom: 5px;
    box-sizing: border-box;
    border-bottom: 2px solid #ff6700;
    cursor: pointer;
}

/* 笔记本end */

/* 家电start */
.shouji-goods-box-left-father {
    width: 234px;
    height: 614px;
    margin-right: 15px;

}

.goods-box-left-top {
    width: 234px;
    height: 300px;
    margin-bottom: 14px;
    box-sizing: border-box;
    transition: all 0.2s linear;

}

.goods-box-left-bottom {
    width: 234px;
    height: 300px;
    box-sizing: border-box;
    transition: all 0.2s linear;

}

.goods-box-left-top img {
    width: 234px;
    height: 300px;

    /* box-sizing: border-box;
    overflow: hidden; */
}

.goods-box-left-bottom img {
    width: 234px;
    height: 300px;
    /* box-sizing: border-box;
    overflow: hidden; */
}

.goods-box-left-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.goods-box-left-bottom:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 家电end */

/* 内容模块end */


/* 底部start */
.footer {
    margin-top: 30px;
    background: #fff;
}

.footer .selling-point {
    width: 1226px;
    margin: 0 auto;
    height: 80px;
    /*flex布局*/
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.footer .selling-point .selling-point-item:hover {
    color: #ff6700;
    cursor: pointer;
}

.selling-point .selling-point-item {
    width: 243px;
    height: 24px;
    line-height: 24px;
    border-right: 1px solid #b0b0b0;
    text-align: center;
    color: #616161;
    position: relative;
}

/*最后一个 去线条*/
.selling-point .selling-point-item:last-child {
    border: none;
}


.selling-point-item img {
    width: 24px;
    height: 24px;
    /*基线对齐方式调整*/
    /* vertical-align: middle; */
    opacity: 0;
    position: absolute;
    left: 40px;
    top: 3px;
}

.selling-point-item img.active {
    opacity: 1;
}

.selling-point-item:hover>img.icon {
    opacity: 0;
}

.selling-point-item:hover>img.icon-1 {
    opacity: 1;
}

.active-1 {
    position: absolute;
    margin-left: 20px;
}

.active-2 {
    position: absolute;
    margin-left: -10px;
}





.selling-point-item .text {
    /*基线对齐方式调整*/
    vertical-align: middle;
}

.footer .footer-links {
    width: 1226px;
    margin: 0 auto;
    padding: 40px 0;
    box-sizing: border-box;
    border-top: 1px solid #e7e5e5;
    display: flex;
    justify-content: space-between;
}

.footer .footer-links .col-links {
    width: 160px;
}

.footer .footer-links .col-links dt {
    width: 160px;
    height: 17px;
    line-height: 17px;
    margin-bottom: 26px;
    color: #424242;
    font-size: 14px;
}

.footer .footer-links .col-links dd {
    width: 160px;
    height: 18px;
    line-height: 18px;
    margin-top: 18px;
    font-size: 12px;
}


.footer .footer-links .col-links dd:hover a {
    color: #ff6700;

}

.footer .footer-links .col-links dd a {
    color: #757575;
}

/*联系*/
.footer .footer-links .col-contact {
    width: 251px;

}

/*联系上部分*/
.footer .footer-links .col-contact .col-contact-top,
.col-contact-bottom {
    height: 80px;
    display: flex;
    /*控制主轴方向*/
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-left: 1px solid #b0b0b0;


}

.footer .footer-links .col-contact .col-contact-top .phone,
.col-contact-bottom .phone {
    font-size: 22px;
    line-height: 1;
    color: #ff6700;
    /*margin-bottom: 10px;*/
}

.footer .footer-links .col-contact .col-contact-top .time,
.col-contact-bottom .time {
    margin: 0 0 5px 0;
    font-weight: 400;
    font-size: 12px;
    color: #757575;
}


.col-contact-top .btn-line-primary,
.col-contact-bottom .btn-line-primary {
    border: 1px solid #ff6700;
    width: 120px;
    height: 30px;
    /* display: block; */
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: #ff6700;
    cursor: pointer;

}

.btn-line-primary-img {
    position: relative;
    left: 10px;
    top: 3px;
}

.col-contact-bottom .btn-line-primary img,
.col-contact-top .btn-line-primary img {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
}

.btn-line-primary .chit1 {
    display: block;
}

.btn-line-primary .chit2 {
    display: none;
}


.col-contact-top .btn-line-primary:hover>.btn-line-primary-img>.chit2,
.col-contact-bottom .btn-line-primary:hover>.btn-line-primary-img>.chit2 {
    display: block;
}

.col-contact-top .btn-line-primary:hover>.btn-line-primary-img>.chit1,
.col-contact-bottom .btn-line-primary:hover>.btn-line-primary-img>.chit1 {
    display: none;
}

.col-contact-bottom .btn-line-primary:hover,
.col-contact-top .btn-line-primary:hover {
    background: #ff6700;
    color: #fff;
}

.col-contact-bottom .explain {
    margin-bottom: 5px;
    margin-left: 46px;
    font-weight: 400;
    font-size: 12px;
    color: #757575;
}

/* 底部end */

/* 最底部start */

.the-bottom-warp {
    width: 1120px;
    height: 230px;
    margin: 30px auto;
    /* background-color: #fff; */
    position: relative;
}

.the-bottom-warp p {
    height: 14px;
    position: absolute;
    top: 0;
}

.the-bottom-warp .sep {
    float: left;
    margin-left: 5px;

}

.the-bottom-warp .sep a {
    color: #757575;
    font-size: 12px;
}

.the-bottom-warp .sep a:hover {
    color: #ff6700;
    cursor: pointer;
}

.the-bottom-img {
    float: left;
    margin-top: 5px;
}

.the-bottom-img .img1 {
    width: 85px;
    height: 28px;
    margin-right: 3px;
}

.the-bottom-img .img2 {
    width: 91.83px;
    height: 28px;
    margin-right: 3px;
}

.the-bottom-img .img3 {
    width: 85px;
    height: 28px;
    margin-right: 3px;
}

.the-bottom-img .img4 {
    width: 73.92px;
    height: 28px;
}

.the-bottom-img img:hover {
    cursor: pointer;
}

/* 最底部end */

/* 右侧导航start */

.right-nav {
    width: 84px;
    background: #fff;
    /*固定定位*/
    position: fixed;
    right: 0;
    bottom: 80px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
}

.right-nav .nav-item {
    display: block;
    width: 84px;
    height: 70px;
    border-bottom: 1px solid #b6b4b4;
}

.right-nav .nav-item:last-child {
    border-bottom: none;
}

.nav-item .nav-item-img {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 20px auto 10px auto;
}

.right-nav .nav-item img {
    width: 30px;
    height: 30px;
    /* margin: 20px auto 10px auto; */
    position: absolute;
    left: 0;
    top: 0;
}

.right-nav .nav-item .img1 {
    display: block;
}

.right-nav .nav-item .img2 {
    display: none;
}

.right-nav .nav-item:hover>.nav-item-img>.img2 {
    display: block;
}

.right-nav .nav-item:hover>.nav-item-img>.img1 {
    display: none;
}

.right-nav .nav-item .text {
    text-align: center;
    font-size: 16px;
    color: #757575;
}

.right-nav .nav-item:hover>.text {
    color: #ff6700;
}



/* 右侧导航end */